const user = {
  namespace: true,
  state: {
    name: '',
    token: ''
  },
  mutations: {
    setName(state, payload) {
      state.name = payload
    },
    setToken(state, payload) {
      state.token = payload
    }
  },
  actions: {

  },
  getters: {

  }
}
export default user